<h1>Карты</h1>
<form class="maps" action="" method="get">
	<select name="resort">
		<?php
			$result = mysql_query('SELECT name, folder FROM resorts', $conn);
			while ($row = mysql_fetch_array($result)) {
				if ($row['folder'] == $_GET['resort']) {
					$selected = 'selected';
				} else {
					$selected = '';
				}
		?>
			<option value="<?php echo $row['folder']; ?>" <?php echo $selected; ?>><?php echo $row['name']; ?></option>
		<?php } ?>
	</select>
	<input type="hidden" name="page" value="maps" />
	<input type="submit" value="Посмотреть"/>
</form>
<div id="map_canvas"></div>